02. Course Outline

heading

Course Outline

ND320 C4 L0 02 Why Are Wearable Algorithms Important--

summary

Wearable Devices

Today the landscape of wearable devices is vast and only increasing. In part because of the miniaturization of electronics and sensors, they are much more capable than before. For example, the Apple Watch came out in 2015 and tried to track activity, heart rate, exercise, sleep. The newer model even has an ECG sensor on it for monitoring your heart rhythm. There are shoe sensors, “underwearables” - things like compression shorts, and even wearables for your baby. Pampers has a smart diaper.

But these sensors don’t produce meaningful metrics automatically. For example, the sensors on a FitBit don’t produce a pulse rate or a step count. They sense some underlying signal, for step count, it’d be motion. Then, complex algorithms will process the raw motion data into various activity classifications or step counts.

What You Will Learn

This course will teach you how to build signal processing and machine learning algorithms to process raw wearable data and produce clinically meaningful metrics. We’ll talk about the healthcare aims that can be achieved with wearables. The skills you'll develop and the algorithms you’ll learn in this class will be transferable to a broad spectrum of devices and sensors.

The course focuses on three main sensors for a wrist-wearable:

  • the IMU sensor measures motion.
  • the PPG sensor measures blood flow at the wrist.
  • the ECG sensor measures the electrical activity of the heart.

We’ll begin with an introduction to how these sensors work. Then we will deep-dive into the IMU sensor and learn how to use it to do activity classification. This can help build useful context around how the wearer spends their time, how much exercise they get, how mobile they are, and so on. Next, we’ll look at the ECG sensor and learn how we can use it to detect some cardiovascular conditions. Finally, in the final project, you will use the PPG sensor to derive the pulse rate. And learn techniques to produce good results even while the wearer is exercising, which as you’ll soon learn causes all sorts of problems. You will be working intimately with time-series signals in this course, so before we jump in, we’ll do a quick review of basic time-series signal processing and learn some plotting tools to help us explore the data.

Key Topics

Visual Model with Key Topics

Key Topics in this Course

Key Topics in this Course

Course Outline

Course Outline

Lesson 1 - Introduction to Wearable Data

  • Welcome / Introduction
  • Wearables in a Medical Context

Lesson 2 - Introduction to Signal Processing

  • Sampling
  • Python plotting in time-domain
  • Resampling / Interpolation
  • Fourier Transform
  • Python plotting in the frequency domain
  • Harmonics

Lesson 3 - Introduction to Wearable Sensors

  • Wearable Demo
  • IMU Sensor
  • Accelerometer deep-dive
  • PPG Sensor
  • ECG Sensor

Lesson 4 - Activity Classifier

  • Introduction to Activity Classifiers
  • Feature Extraction
  • Model Building
  • Hyperparameter Tuning

Lesson 5 - ECG Processing

  • About the ECG signal
  • Pan-Tompkins algorithm
  • Atrial Fibrillation detection algorithm

Final Project

  • Motion Compensated Pulse Rate
  • Resting Heart Rate vs. Age and Sex in a Disease Population